package com.iu.service.impl;

import com.iu.dao.UserDao;
import com.iu.dao.impl.UserDaoImpl;
import com.iu.service.UserService;

public class UserServiceImpl implements UserService {
    UserDaoImpl userDao;

    public UserServiceImpl() {

    }

    public UserServiceImpl(UserDaoImpl userDao) {
        this.userDao = userDao;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDaoImpl userDao) {
        this.userDao = userDao;
    }

    @Override
    public void sayHi() {
        System.out.println("hello");
    }
}
